/**
 * 作者：陈文斌 on 2019/1/11.
 * 邮箱：chen_wennbin@163.com
 * 版本：v1.0
 */

import 'package:json_annotation/json_annotation.dart';
import 'package:crm/model/Company/company_category_model.dart';

part 'category_image_model.g.dart';

@JsonSerializable()
class CategoryImageModel extends Object
    with _$CategoryImageModelSerializerMixin {
  String Id;
  String CompanyCategoryId;
  CompanyCategoryInfoModel Category;
  String ImgUrl;
  String Remark;
  String CreatedTime;

  CategoryImageModel(
    this.Id,
    this.CompanyCategoryId,
    this.Category,
    this.ImgUrl,
    this.Remark,
    this.CreatedTime,
  );

  @override
  factory CategoryImageModel.fromJson(Map<String, dynamic> json) =>
      _$CategoryImageModelFromJson(json);
}
